import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
     redirect: '/Login'
    },
    {
      path: '/Login',
      component: () => import('../views/LoginVue.vue')
    },
    {
      path: '/Add',
      component: () => import('../views/AddVue.vue')
    },
    {
      path: '/Show',
      component: () => import('../views/ShowVue.vue')
    }
  ]
})

export default router
